<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRGoodweatherAc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRGoodweatherAc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRGoodweatherAc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Goodweather A/C messages.  
 <a href="classIRGoodweatherAc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Goodweather_8h_source.html">ir_Goodweather.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRGoodweatherAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRGoodweatherAc__coll__graph.png" border="0" usemap="#IRGoodweatherAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRGoodweatherAc_coll__map" id="IRGoodweatherAc_coll__map">
<area shape="rect" title="Class for handling detailed Goodweather A/C messages." alt="" coords="39,95,177,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionGoodweatherProtocol.html" title="Native representation of a Goodweather A/C message." alt="" coords="96,5,259,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a681feff1a58125cde97b2d7ed0ba775e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a681feff1a58125cde97b2d7ed0ba775e">IRGoodweatherAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a681feff1a58125cde97b2d7ed0ba775e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRGoodweatherAc.html#a681feff1a58125cde97b2d7ed0ba775e">More...</a><br /></td></tr>
<tr class="separator:a681feff1a58125cde97b2d7ed0ba775e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7f8873ad58e553dc89307220628bebf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#ae7f8873ad58e553dc89307220628bebf">stateReset</a> (void)</td></tr>
<tr class="memdesc:ae7f8873ad58e553dc89307220628bebf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state.  <a href="classIRGoodweatherAc.html#ae7f8873ad58e553dc89307220628bebf">More...</a><br /></td></tr>
<tr class="separator:ae7f8873ad58e553dc89307220628bebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcc3c9d9b0912b09d3c0b0c1affb8cc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#abcc3c9d9b0912b09d3c0b0c1affb8cc8">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a885bc5a3a5ba2d8827a62d07a43d0321">kGoodweatherMinRepeat</a>)</td></tr>
<tr class="memdesc:abcc3c9d9b0912b09d3c0b0c1affb8cc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRGoodweatherAc.html#abcc3c9d9b0912b09d3c0b0c1affb8cc8">More...</a><br /></td></tr>
<tr class="separator:abcc3c9d9b0912b09d3c0b0c1affb8cc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a747144587cf38d64bb32a7f86432b3"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a8a747144587cf38d64bb32a7f86432b3">calibrate</a> (void)</td></tr>
<tr class="memdesc:a8a747144587cf38d64bb32a7f86432b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRGoodweatherAc.html#a8a747144587cf38d64bb32a7f86432b3">More...</a><br /></td></tr>
<tr class="separator:a8a747144587cf38d64bb32a7f86432b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abace3c8b25d4737a83fe33f94fc741d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#abace3c8b25d4737a83fe33f94fc741d9">begin</a> (void)</td></tr>
<tr class="memdesc:abace3c8b25d4737a83fe33f94fc741d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRGoodweatherAc.html#abace3c8b25d4737a83fe33f94fc741d9">More...</a><br /></td></tr>
<tr class="separator:abace3c8b25d4737a83fe33f94fc741d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e3c2a9f47376062ab66318d6af4324b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a1e3c2a9f47376062ab66318d6af4324b">on</a> (void)</td></tr>
<tr class="memdesc:a1e3c2a9f47376062ab66318d6af4324b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On.  <a href="classIRGoodweatherAc.html#a1e3c2a9f47376062ab66318d6af4324b">More...</a><br /></td></tr>
<tr class="separator:a1e3c2a9f47376062ab66318d6af4324b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6863d837140951fcc0faf629025d48e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#ad6863d837140951fcc0faf629025d48e">off</a> (void)</td></tr>
<tr class="memdesc:ad6863d837140951fcc0faf629025d48e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off.  <a href="classIRGoodweatherAc.html#ad6863d837140951fcc0faf629025d48e">More...</a><br /></td></tr>
<tr class="separator:ad6863d837140951fcc0faf629025d48e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac49e30082777b10fe9edf6ec7bd76ea5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#ac49e30082777b10fe9edf6ec7bd76ea5">setPower</a> (const bool <a class="el" href="classIRGoodweatherAc.html#a1e3c2a9f47376062ab66318d6af4324b">on</a>)</td></tr>
<tr class="memdesc:ac49e30082777b10fe9edf6ec7bd76ea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRGoodweatherAc.html#ac49e30082777b10fe9edf6ec7bd76ea5">More...</a><br /></td></tr>
<tr class="separator:ac49e30082777b10fe9edf6ec7bd76ea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac07f4c3c4e064a13f1f90d0c227d8ec0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#ac07f4c3c4e064a13f1f90d0c227d8ec0">getPower</a> (void) const</td></tr>
<tr class="memdesc:ac07f4c3c4e064a13f1f90d0c227d8ec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRGoodweatherAc.html#ac07f4c3c4e064a13f1f90d0c227d8ec0">More...</a><br /></td></tr>
<tr class="separator:ac07f4c3c4e064a13f1f90d0c227d8ec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b1c90f69a3a2e412020d07809d180cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a8b1c90f69a3a2e412020d07809d180cc">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a8b1c90f69a3a2e412020d07809d180cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRGoodweatherAc.html#a8b1c90f69a3a2e412020d07809d180cc">More...</a><br /></td></tr>
<tr class="separator:a8b1c90f69a3a2e412020d07809d180cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253e92453136f37c3082a5d492d45c82"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a253e92453136f37c3082a5d492d45c82">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a253e92453136f37c3082a5d492d45c82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRGoodweatherAc.html#a253e92453136f37c3082a5d492d45c82">More...</a><br /></td></tr>
<tr class="separator:a253e92453136f37c3082a5d492d45c82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cf9ba59af548677e586cd59e8a6cc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#af8cf9ba59af548677e586cd59e8a6cc2">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:af8cf9ba59af548677e586cd59e8a6cc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRGoodweatherAc.html#af8cf9ba59af548677e586cd59e8a6cc2">More...</a><br /></td></tr>
<tr class="separator:af8cf9ba59af548677e586cd59e8a6cc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58839f0a332a1db1d808c608aa718031"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a58839f0a332a1db1d808c608aa718031">getFan</a> (void) const</td></tr>
<tr class="memdesc:a58839f0a332a1db1d808c608aa718031"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRGoodweatherAc.html#a58839f0a332a1db1d808c608aa718031">More...</a><br /></td></tr>
<tr class="separator:a58839f0a332a1db1d808c608aa718031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eed6b70b7b1c2e8a9620db7462e1fb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a8eed6b70b7b1c2e8a9620db7462e1fb5">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a8eed6b70b7b1c2e8a9620db7462e1fb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRGoodweatherAc.html#a8eed6b70b7b1c2e8a9620db7462e1fb5">More...</a><br /></td></tr>
<tr class="separator:a8eed6b70b7b1c2e8a9620db7462e1fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a33c367d8cb64ec85afc37bbdda3ab1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a7a33c367d8cb64ec85afc37bbdda3ab1">getMode</a> (void) const</td></tr>
<tr class="memdesc:a7a33c367d8cb64ec85afc37bbdda3ab1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRGoodweatherAc.html#a7a33c367d8cb64ec85afc37bbdda3ab1">More...</a><br /></td></tr>
<tr class="separator:a7a33c367d8cb64ec85afc37bbdda3ab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d11a6885a5e7851e7c941b559159c35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a4d11a6885a5e7851e7c941b559159c35">setSwing</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a4d11a6885a5e7851e7c941b559159c35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing speed of the A/C.  <a href="classIRGoodweatherAc.html#a4d11a6885a5e7851e7c941b559159c35">More...</a><br /></td></tr>
<tr class="separator:a4d11a6885a5e7851e7c941b559159c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4112cccacc2f8ea30c7d8bdb068beae0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a4112cccacc2f8ea30c7d8bdb068beae0">getSwing</a> (void) const</td></tr>
<tr class="memdesc:a4112cccacc2f8ea30c7d8bdb068beae0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing speed of the A/C.  <a href="classIRGoodweatherAc.html#a4112cccacc2f8ea30c7d8bdb068beae0">More...</a><br /></td></tr>
<tr class="separator:a4112cccacc2f8ea30c7d8bdb068beae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30987629a159c5112649f0973895c9c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a30987629a159c5112649f0973895c9c1">setSleep</a> (const bool toggle)</td></tr>
<tr class="memdesc:a30987629a159c5112649f0973895c9c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sleep Toggle setting of the A/C.  <a href="classIRGoodweatherAc.html#a30987629a159c5112649f0973895c9c1">More...</a><br /></td></tr>
<tr class="separator:a30987629a159c5112649f0973895c9c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ddc9ee4e4200176ede62817ed7cb7f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a17ddc9ee4e4200176ede62817ed7cb7f">getSleep</a> (void) const</td></tr>
<tr class="memdesc:a17ddc9ee4e4200176ede62817ed7cb7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sleep Toggle setting of the A/C.  <a href="classIRGoodweatherAc.html#a17ddc9ee4e4200176ede62817ed7cb7f">More...</a><br /></td></tr>
<tr class="separator:a17ddc9ee4e4200176ede62817ed7cb7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7827fc5a8f85b284c0121727dba34f11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a7827fc5a8f85b284c0121727dba34f11">setTurbo</a> (const bool toggle)</td></tr>
<tr class="memdesc:a7827fc5a8f85b284c0121727dba34f11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Turbo Toggle setting of the A/C.  <a href="classIRGoodweatherAc.html#a7827fc5a8f85b284c0121727dba34f11">More...</a><br /></td></tr>
<tr class="separator:a7827fc5a8f85b284c0121727dba34f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f15a3c8063af85bc81f3a5f3bcacb5e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a2f15a3c8063af85bc81f3a5f3bcacb5e">getTurbo</a> (void) const</td></tr>
<tr class="memdesc:a2f15a3c8063af85bc81f3a5f3bcacb5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Turbo Toggle setting of the A/C.  <a href="classIRGoodweatherAc.html#a2f15a3c8063af85bc81f3a5f3bcacb5e">More...</a><br /></td></tr>
<tr class="separator:a2f15a3c8063af85bc81f3a5f3bcacb5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f149ff426b236ba9f90659a6daf4a9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a3f149ff426b236ba9f90659a6daf4a9c">setLight</a> (const bool toggle)</td></tr>
<tr class="memdesc:a3f149ff426b236ba9f90659a6daf4a9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Light (LED) Toggle setting of the A/C.  <a href="classIRGoodweatherAc.html#a3f149ff426b236ba9f90659a6daf4a9c">More...</a><br /></td></tr>
<tr class="separator:a3f149ff426b236ba9f90659a6daf4a9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addd2e3cb3824ce4ca8f15bee468b1a16"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#addd2e3cb3824ce4ca8f15bee468b1a16">getLight</a> (void) const</td></tr>
<tr class="memdesc:addd2e3cb3824ce4ca8f15bee468b1a16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Light (LED) Toggle setting of the A/C.  <a href="classIRGoodweatherAc.html#addd2e3cb3824ce4ca8f15bee468b1a16">More...</a><br /></td></tr>
<tr class="separator:addd2e3cb3824ce4ca8f15bee468b1a16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e266f42b7a82c49208e2acc7813e07b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a4e266f42b7a82c49208e2acc7813e07b">setCommand</a> (const uint8_t cmd)</td></tr>
<tr class="memdesc:a4e266f42b7a82c49208e2acc7813e07b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the remote Command type/button pressed.  <a href="classIRGoodweatherAc.html#a4e266f42b7a82c49208e2acc7813e07b">More...</a><br /></td></tr>
<tr class="separator:a4e266f42b7a82c49208e2acc7813e07b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac46149fab1211f16891ffe31fa55b1b8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#ac46149fab1211f16891ffe31fa55b1b8">getCommand</a> (void) const</td></tr>
<tr class="memdesc:ac46149fab1211f16891ffe31fa55b1b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Command type/button pressed from the current settings.  <a href="classIRGoodweatherAc.html#ac46149fab1211f16891ffe31fa55b1b8">More...</a><br /></td></tr>
<tr class="separator:ac46149fab1211f16891ffe31fa55b1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82d973e562b2425e8823fbc7332c06de"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a82d973e562b2425e8823fbc7332c06de">getRaw</a> (void)</td></tr>
<tr class="memdesc:a82d973e562b2425e8823fbc7332c06de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a copy of the internal state as a valid code for this protocol.  <a href="classIRGoodweatherAc.html#a82d973e562b2425e8823fbc7332c06de">More...</a><br /></td></tr>
<tr class="separator:a82d973e562b2425e8823fbc7332c06de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eae4bbdb14fea9e3004d656f852df59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a2eae4bbdb14fea9e3004d656f852df59">setRaw</a> (const uint64_t state)</td></tr>
<tr class="memdesc:a2eae4bbdb14fea9e3004d656f852df59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRGoodweatherAc.html#a2eae4bbdb14fea9e3004d656f852df59">More...</a><br /></td></tr>
<tr class="separator:a2eae4bbdb14fea9e3004d656f852df59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaaa40915d93e8c6bd5dd49d8e02b510"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#abaaa40915d93e8c6bd5dd49d8e02b510">toCommon</a> (void) const</td></tr>
<tr class="memdesc:abaaa40915d93e8c6bd5dd49d8e02b510"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRGoodweatherAc.html#abaaa40915d93e8c6bd5dd49d8e02b510">More...</a><br /></td></tr>
<tr class="separator:abaaa40915d93e8c6bd5dd49d8e02b510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95b191495e9cf0c603b407d5e466661a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a95b191495e9cf0c603b407d5e466661a">toString</a> (void) const</td></tr>
<tr class="memdesc:a95b191495e9cf0c603b407d5e466661a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRGoodweatherAc.html#a95b191495e9cf0c603b407d5e466661a">More...</a><br /></td></tr>
<tr class="separator:a95b191495e9cf0c603b407d5e466661a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aef14e2b6c220e556300d286922da1f54"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#aef14e2b6c220e556300d286922da1f54">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:aef14e2b6c220e556300d286922da1f54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRGoodweatherAc.html#aef14e2b6c220e556300d286922da1f54">More...</a><br /></td></tr>
<tr class="separator:aef14e2b6c220e556300d286922da1f54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb443826453a65e87f6dedddf2dd74d5"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#abb443826453a65e87f6dedddf2dd74d5">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:abb443826453a65e87f6dedddf2dd74d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRGoodweatherAc.html#abb443826453a65e87f6dedddf2dd74d5">More...</a><br /></td></tr>
<tr class="separator:abb443826453a65e87f6dedddf2dd74d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b37c04fd9b60b63052d93374fc15d4f"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a3b37c04fd9b60b63052d93374fc15d4f">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> swingv)</td></tr>
<tr class="memdesc:a3b37c04fd9b60b63052d93374fc15d4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting.  <a href="classIRGoodweatherAc.html#a3b37c04fd9b60b63052d93374fc15d4f">More...</a><br /></td></tr>
<tr class="separator:a3b37c04fd9b60b63052d93374fc15d4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3bcd1354b715179f67499c28fb219fb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#ab3bcd1354b715179f67499c28fb219fb">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ab3bcd1354b715179f67499c28fb219fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRGoodweatherAc.html#ab3bcd1354b715179f67499c28fb219fb">More...</a><br /></td></tr>
<tr class="separator:ab3bcd1354b715179f67499c28fb219fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff899c76d5b808ee35c9f88c116b5dc4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#aff899c76d5b808ee35c9f88c116b5dc4">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:aff899c76d5b808ee35c9f88c116b5dc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRGoodweatherAc.html#aff899c76d5b808ee35c9f88c116b5dc4">More...</a><br /></td></tr>
<tr class="separator:aff899c76d5b808ee35c9f88c116b5dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:acf606eb9e024c99407138dbd058e98d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#acf606eb9e024c99407138dbd058e98d9">_irsend</a></td></tr>
<tr class="memdesc:acf606eb9e024c99407138dbd058e98d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRGoodweatherAc.html#acf606eb9e024c99407138dbd058e98d9">More...</a><br /></td></tr>
<tr class="separator:acf606eb9e024c99407138dbd058e98d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a357e8f133b16a086c3100eb1e7b35279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionGoodweatherProtocol.html">GoodweatherProtocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRGoodweatherAc.html#a357e8f133b16a086c3100eb1e7b35279">_</a></td></tr>
<tr class="separator:a357e8f133b16a086c3100eb1e7b35279"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Goodweather A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a681feff1a58125cde97b2d7ed0ba775e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a681feff1a58125cde97b2d7ed0ba775e">&#9670;&nbsp;</a></span>IRGoodweatherAc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRGoodweatherAc::IRGoodweatherAc </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abace3c8b25d4737a83fe33f94fc741d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abace3c8b25d4737a83fe33f94fc741d9">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="a8a747144587cf38d64bb32a7f86432b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a747144587cf38d64bb32a7f86432b3">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRGoodweatherAc::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="abb443826453a65e87f6dedddf2dd74d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb443826453a65e87f6dedddf2dd74d5">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="aef14e2b6c220e556300d286922da1f54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef14e2b6c220e556300d286922da1f54">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a3b37c04fd9b60b63052d93374fc15d4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b37c04fd9b60b63052d93374fc15d4f">&#9670;&nbsp;</a></span>convertSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::convertSwingV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
          <td class="paramname"><em>swingv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">swingv</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="ac46149fab1211f16891ffe31fa55b1b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac46149fab1211f16891ffe31fa55b1b8">&#9670;&nbsp;</a></span>getCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::getCommand </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Command type/button pressed from the current settings. </p>
<dl class="section return"><dt>Returns</dt><dd>The command/button that was issued/pressed. </dd></dl>

</div>
</div>
<a id="a58839f0a332a1db1d808c608aa718031"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58839f0a332a1db1d808c608aa718031">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="addd2e3cb3824ce4ca8f15bee468b1a16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addd2e3cb3824ce4ca8f15bee468b1a16">&#9670;&nbsp;</a></span>getLight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRGoodweatherAc::getLight </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Light (LED) Toggle setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a7a33c367d8cb64ec85afc37bbdda3ab1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a33c367d8cb64ec85afc37bbdda3ab1">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="ac07f4c3c4e064a13f1f90d0c227d8ec0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac07f4c3c4e064a13f1f90d0c227d8ec0">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRGoodweatherAc::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a82d973e562b2425e8823fbc7332c06de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82d973e562b2425e8823fbc7332c06de">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t IRGoodweatherAc::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a copy of the internal state as a valid code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>A valid code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="a17ddc9ee4e4200176ede62817ed7cb7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17ddc9ee4e4200176ede62817ed7cb7f">&#9670;&nbsp;</a></span>getSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRGoodweatherAc::getSleep </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Sleep Toggle setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a4112cccacc2f8ea30c7d8bdb068beae0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4112cccacc2f8ea30c7d8bdb068beae0">&#9670;&nbsp;</a></span>getSwing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::getSwing </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing speed of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The native swing speed setting. </dd></dl>

</div>
</div>
<a id="a253e92453136f37c3082a5d492d45c82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a253e92453136f37c3082a5d492d45c82">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRGoodweatherAc::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a2f15a3c8063af85bc81f3a5f3bcacb5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f15a3c8063af85bc81f3a5f3bcacb5e">&#9670;&nbsp;</a></span>getTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRGoodweatherAc::getTurbo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Turbo Toggle setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="ad6863d837140951fcc0faf629025d48e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6863d837140951fcc0faf629025d48e">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to Off. </p>

</div>
</div>
<a id="a1e3c2a9f47376062ab66318d6af4324b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e3c2a9f47376062ab66318d6af4324b">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to On. </p>

</div>
</div>
<a id="abcc3c9d9b0912b09d3c0b0c1affb8cc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcc3c9d9b0912b09d3c0b0c1affb8cc8">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a885bc5a3a5ba2d8827a62d07a43d0321">kGoodweatherMinRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4e266f42b7a82c49208e2acc7813e07b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e266f42b7a82c49208e2acc7813e07b">&#9670;&nbsp;</a></span>setCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setCommand </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the remote Command type/button pressed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cmd</td><td>The command/button that was issued/pressed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af8cf9ba59af548677e586cd59e8a6cc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8cf9ba59af548677e586cd59e8a6cc2">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3f149ff426b236ba9f90659a6daf4a9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f149ff426b236ba9f90659a6daf4a9c">&#9670;&nbsp;</a></span>setLight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setLight </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>toggle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Light (LED) Toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">toggle</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8eed6b70b7b1c2e8a9620db7462e1fb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eed6b70b7b1c2e8a9620db7462e1fb5">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac49e30082777b10fe9edf6ec7bd76ea5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac49e30082777b10fe9edf6ec7bd76ea5">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2eae4bbdb14fea9e3004d656f852df59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2eae4bbdb14fea9e3004d656f852df59">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>A valid code for this protocol. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a30987629a159c5112649f0973895c9c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30987629a159c5112649f0973895c9c1">&#9670;&nbsp;</a></span>setSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setSleep </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>toggle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Sleep Toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">toggle</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4d11a6885a5e7851e7c941b559159c35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d11a6885a5e7851e7c941b559159c35">&#9670;&nbsp;</a></span>setSwing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setSwing </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing speed of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The speed to set the swing to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8b1c90f69a3a2e412020d07809d180cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b1c90f69a3a2e412020d07809d180cc">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>temp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">temp</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7827fc5a8f85b284c0121727dba34f11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7827fc5a8f85b284c0121727dba34f11">&#9670;&nbsp;</a></span>setTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::setTurbo </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>toggle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Turbo Toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">toggle</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae7f8873ad58e553dc89307220628bebf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7f8873ad58e553dc89307220628bebf">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRGoodweatherAc::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the internal state to a fixed known good state. </p>

</div>
</div>
<a id="abaaa40915d93e8c6bd5dd49d8e02b510"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaaa40915d93e8c6bd5dd49d8e02b510">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRGoodweatherAc::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="aff899c76d5b808ee35c9f88c116b5dc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff899c76d5b808ee35c9f88c116b5dc4">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRGoodweatherAc::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="ab3bcd1354b715179f67499c28fb219fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3bcd1354b715179f67499c28fb219fb">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRGoodweatherAc::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a95b191495e9cf0c603b407d5e466661a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95b191495e9cf0c603b407d5e466661a">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRGoodweatherAc::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a357e8f133b16a086c3100eb1e7b35279"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a357e8f133b16a086c3100eb1e7b35279">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionGoodweatherProtocol.html">GoodweatherProtocol</a> IRGoodweatherAc::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acf606eb9e024c99407138dbd058e98d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf606eb9e024c99407138dbd058e98d9">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRGoodweatherAc::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Goodweather_8h_source.html">ir_Goodweather.h</a></li>
<li>src/<a class="el" href="ir__Goodweather_8cpp.html">ir_Goodweather.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
